package com.igeek.boot.entity;

import com.alibaba.druid.sql.dialect.postgresql.ast.expr.PGExprImpl;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("contract_approvals")
@ApiModel(value="ContractApprovals合同审批", description="")
public class ContractApprovals {

    @TableId(value = "approvalID", type = IdType.AUTO)
    private Integer approvalID;

    @TableField(value = "contractID")
    private Integer contractID;

    @TableField(value = "approvalDate")
    private LocalDate approvalDate;

    @TableField(value = "approvalStatus")
    private String approvalStatus;

    @TableField(value = "comment")
    private String comment;

    @TableField(exist = false)
    private Contracts contracts;
}
